package com.example.emqxclient.properties;


import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * File: MqttProperties.java
 * Author: liufudong@szyh-smart.com
 * Date: 2024/8/29
 * Description: MqttProperties class.
 */
@Configuration
@ConfigurationProperties(prefix = "mqtt")
@Data
public class MqttProperties {
    private String brokerUrl;
    private String clientId;
    private String username;
    private String password;
    private String sendTopic;
    private String acceptTopic;
}
